if(NOSAL_ENABLE_DOXYGEN)
	find_package(Doxygen REQUIRED)
	#set(LOG_PATH ${PROJECT_SOURCE_DIR})
	configure_file(Doxyfile.in Doxyfile @ONLY)
	set(doxyfile ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
	add_custom_target(documentation
		COMMAND ${DOXYGEN_EXECUTABLE} ${doxyfile}
		WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
		SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in
		COMMENT "Generating documentation with Doxygen"
		VERBATIM
	)
endif()
